package com.liao.cloudstorage.service;

import com.liao.cloudstorage.entity.Bucket;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liao
 * @since 2019-04-24
 */
public interface IBucketService extends IService<Bucket> {
    List<Bucket> getAllBucket();
    boolean addBucket(String bucketName);
    boolean deleteBucketById(Integer id);
    void autoAddFile(String bucketName,double fileSize);
    void autoRemoveFile(String bucketName,double fileSize);

}
